﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using Frogism.Core;

namespace Frogism.Domain {
  public class BudgetManager {

      public IEnumerable<IBudgetItem> GetAll(IEnumerable<IAccount> accounts)
      {
          Collection<IBudgetItem> budgetItems = new Collection<IBudgetItem>();

      budgetItems.Add(BudgetItem.CreateWeek(accounts));
      budgetItems.Add(BudgetItem.CreateLastWeek(accounts));
      budgetItems.Add(BudgetItem.CreateMonth(accounts));
      budgetItems.Add(BudgetItem.CreateYear(accounts));

      return budgetItems;

    }
  }
}
